/*
 * Copyright (c) 2012-2014, EpicSaaS Yuan Xin technology Co., Ltd.
 * 
 * All rights reserved.
 */
package com.epicsaas.app.ksdapp.android.bean;

/**
 * @author fbl
 *  收货人地址信息
 */
public class MyConsigneeAddress {

    /** id */
    private long id;

    /** 创建时间 */
    private long createDate;

    /** 更新时间 */
    private long modifyDate;

    /** 收货人 */
    private String consignee;

    /** 地区名称 */
    private String areaName;

    /** 地址 */
    private String address;

    /** 邮编 */
    private String zipCode;

    /** 电话 */
    private String phone;

    /** 是否默认 */
    private Boolean isDefault;

    /** 地区 */
    private Area area;

    public MyConsigneeAddress(long id, long createDate, long modifyDate, String consignee, String areaName,
            String address, String zipCode, String phone, Boolean isDefault, Area area) {
        super();
        this.id = id;
        this.createDate = createDate;
        this.modifyDate = modifyDate;
        this.consignee = consignee;
        this.areaName = areaName;
        this.address = address;
        this.zipCode = zipCode;
        this.phone = phone;
        this.isDefault = isDefault;
        this.area = area;
    }

    @Override
    public String toString() {
        return "MyConsigneeAddress [id=" + id + ", createDate=" + createDate + ", modifyDate=" + modifyDate
                + ", consignee=" + consignee + ", areaName=" + areaName + ", address=" + address + ", zipCode="
                + zipCode + ", phone=" + phone + ", isDefault=" + isDefault + ", area=" + area + "]";
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(long createDate) {
        this.createDate = createDate;
    }

    public long getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(long modifyDate) {
        this.modifyDate = modifyDate;
    }

    public MyConsigneeAddress() {
        super();
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Boolean getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Boolean isDefault) {
        this.isDefault = isDefault;
    }

    public Area getArea() {
        return area;
    }

    public void setArea(Area area) {
        this.area = area;
    }

    public class Area {

        private long id;

        private long createDate;

        private long modifyDate;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public long getModifyDate() {
            return modifyDate;
        }

        public void setModifyDate(long modifyDate) {
            this.modifyDate = modifyDate;
        }

    }

}
